package com.zelix;

import javax.swing.*;

class i4 extends h4
{

    private static String M[];

    i4(lu lu1, it it1, t3 t3, z2 z2, iy iy)
    {
        super(lu1, it1, t3, z2, iy);
    }

    void b(int i)
        throws ac
    {
        if((i & 0x10) != 0 && (i & 0x40) != 0)
            throw new ac(M[0]);
        if(super.N.h().E() && ((i & 8) == 0 || (i & 0x10) == 0 || (i & 1) == 0))
            throw new ac(M[1]);
        synchronized(super.y)
        {
            super.N.b(i);
        }
    }

    void c(String s)
        throws vb
    {
        synchronized(super.y)
        {
            super.y.a((lu)super.N, s);
        }
    }

    int a()
    {
        return -224;
    }

    void a(t3 t3)
    {
        DefaultListModel defaultlistmodel = (DefaultListModel)t3.getModel();
        defaultlistmodel.addElement(M[2]);
        defaultlistmodel.addElement(M[4]);
        defaultlistmodel.addElement(M[3]);
        defaultlistmodel.addElement(M[5]);
    }

    void g()
    {
        super.g();
        super.g = 0;
        super.h = 1;
        super.k = 2;
        super.l = 3;
    }

    void h()
    {
        lu lu1 = (lu)super.N;
        if(lu1.h().E())
            super.C.setEnabled(false);
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x63;
                    break;
                case 1:
                    key = 18;
                    break;
                case 2:
                    key =104;
                    break;
                case 3:
                    key =77;
                    break;
                default:
                    key = 49;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }


    static 
    {
        String as[];
        as = new String[6];
        as[0] = "\"|H+X\006~\fmR\002|\006\"ECp\rmW\n|\t!\021\002|\fmG\f~\t9X\017w";
        as[1] = "%{\r!U\0202\001#\021*|\034(C\005s\013(BC\177\035>ECp\rmA\026p\004$RO2\0339P\027{\013mP\rvH+X\rs\004";
        as[2] = "\020f\t9X\0";
        as[3] = "\025}\004,E\n~\r";
        as[4] = "\005{\006,]";
        as[5] = "\027`\t#B\nw\0069";
        M = as;
    }
}